﻿namespace NGM.MicrosoftConnect {
    public class Scope {
        public string Resource { get; private set; }

        public string ScopeName { get; private set; }

        public Scope(string scope) {
            ScopeName = scope;
        }

        public Scope(string scope, string resource) : this (scope) {
            Resource = resource;
        }

        public override string ToString() {
            return ScopeName;
        }

        //http://msdn.microsoft.com/en-us/library/hh243646.aspx
        public static Scope WLBasic = new Scope("wl.basic", "Core");
    }
}